package com.jdd.modules.visitors.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.jdd.common.util.excel.annotation.Excel;
/**
 * @Description: 访客记录表
 * @Author: jdd
 * @Date:   2021-07-14
 * @Version: V1.0
 */
@Data
@TableName("visitor_records")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="visitor_records对象", description="访客记录表")
public class VisitorRecord {
    
	/**主键*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
	private String id;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
	private String plateNo;
	/**停车场编号*/
	@Excel(name = "停车场编号", width = 15)
    @ApiModelProperty(value = "停车场编号")
	private String parkCode;
	/**停车场名称*/
	@Excel(name = "停车场名称", width = 15)
    @ApiModelProperty(value = "停车场名称")
	private String parkName;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
	private String licenseType;
	/**状态(Y:启用,N:冻结)*/
	@Excel(name = "状态(Y:启用,N:冻结)", width = 15)
    @ApiModelProperty(value = "状态(Y:启用,N:冻结)")
	private String status;
	/**客户姓名*/
	@Excel(name = "客户姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
	private String userName;
	/**客户手机号码*/
	@Excel(name = "客户手机号码", width = 15)
    @ApiModelProperty(value = "客户手机号码")
	private String mobile;
	/**家庭住址*/
	@Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
	private String address;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createUser;
	/**审核不通过的时候的备注*/
	@Excel(name = "审核不通过的时候的备注", width = 15)
    @ApiModelProperty(value = "审核不通过的时候的备注")
	private String remark;
	/**访客有效期开始时间*/
	@Excel(name = "访客有效期开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "访客有效期开始时间")
	private Date startTime;
	/**访客有效期结束时间*/
	@Excel(name = "访客有效期结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "访客有效期结束时间")
	private Date endTime;
	/**审核人id*/
	@Excel(name = "审核人id", width = 15)
	@ApiModelProperty(value = "家庭住址")
	private String auditUserId;
	/**审核人姓名*/
	@Excel(name = "审核人姓名", width = 15)
	@ApiModelProperty(value = "家庭住址")
	private String auditUserName;

}
